using System;
using System.Collections.Generic;
namespace AppToolKit.Business.Plugin
{
	public interface IImplementManager<TInf, TIdent> where TIdent : IImplementIdent, new()
	{
		void Register<TImpl>(TImpl instance) where TImpl : TInf;
		TInf GetImplement(string code);
		TInf GetDefaultImplement();
		List<TIdent> GetAllIdent();
		void Register(TIdent ident, TInf instance);
		void Clear();
	}
}
